]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
16 years agoMove rendering into st-theme-node-drawing.c
Colin Walters [Mon, 8 Feb 2010 18:40:25 +0000 (13:40 -0500)]
Move rendering into st-theme-node-drawing.c

The idea behind this move is that we have a lot more control over
rendering if StWidget isn't a big pile of actors, and things are
more efficient.

https://bugzilla.gnome.org/show_bug.cgi?id=607500

16 years agoFix dragging of App Well and Places icons
Dan Winship [Wed, 24 Mar 2010 17:27:21 +0000 (13:27 -0400)]
Fix dragging of App Well and Places icons

The hover rewrite added a freeze/thaw_notify to
st_clickable_leave_event() (to match the one already in
st_clickable_enter_event()), which broke code in two places that
assumed "pressed" would still be TRUE when "hover" changed to FALSE.
Fix that by exposing the "held" property as well.

16 years agorunDialog: use Shell.get_event_state(e), not e.get_state()
Dan Winship [Wed, 24 Mar 2010 17:15:50 +0000 (13:15 -0400)]
runDialog: use Shell.get_event_state(e), not e.get_state()

16 years agoFix build on x86_64
Adel Gadllah [Wed, 24 Mar 2010 16:34:30 +0000 (17:34 +0100)]
Fix build on x86_64

A pointer does not equal to an int on x86_64
(which results into pointer - pointer not being an int either),
fix that by casting the resulting value  to an int.

Breakage was introduced by commit 909b5ec43c6f5ce2f97c5860b983610ae3d6d053

16 years ago[MessageTray] remove bottom rounded corners
Dan Winship [Mon, 15 Mar 2010 17:55:08 +0000 (13:55 -0400)]
[MessageTray] remove bottom rounded corners

https://bugzilla.gnome.org/show_bug.cgi?id=610726

16 years ago[MessageTray] Use #StWidget:track-hover
Dan Winship [Mon, 15 Mar 2010 16:20:10 +0000 (12:20 -0400)]
[MessageTray] Use #StWidget:track-hover

St.Widget's new "hover" property takes reactive children into account
when deciding whether or not the pointer has actually left the actor,
so it works better than the code that used to be here.

https://bugzilla.gnome.org/show_bug.cgi?id=610726

16 years ago[StWidget] add (optional) hover tracking
Dan Winship [Fri, 19 Mar 2010 17:47:34 +0000 (13:47 -0400)]
[StWidget] add (optional) hover tracking

If track-hover is set, update the hover property automatically, and
the "hover" pseudo class to match, as StClickable used to do. (Remove
the corresponding code in StClickable). Tweak the tooltip handling to
use track-hover, which also makes it slightly more reliable in the
presence of reactive children, etc.

16 years ago[StWidget] add list-like methods for style_class and pseudo_class
Dan Winship [Fri, 19 Mar 2010 15:37:04 +0000 (11:37 -0400)]
[StWidget] add list-like methods for style_class and pseudo_class

Since style_class and pseudo_class are space-separated lists of names,
add new methods to add and remove individual names rather than just
re-setting the entire name.

Update existing code to use the new pseudo-class methods where
appropriate. In some cases, this may result in actors having multiple
pseudoclasses where previously they only had one at a time, but there
don't seem to be any visible differences.

(There are some places that could usefully use the new style_class
methods as well, but this patch doesn't change them.)

Also, update test-theme.c to test the new methods.

https://bugzilla.gnome.org/show_bug.cgi?id=604943

16 years agost-widget.h: fix spacing
Dan Winship [Fri, 19 Mar 2010 15:45:57 +0000 (11:45 -0400)]
st-widget.h: fix spacing

https://bugzilla.gnome.org/show_bug.cgi?id=604943

16 years agoUpdated Hungarian translation
Gabor Kelemen [Wed, 24 Mar 2010 13:26:31 +0000 (14:26 +0100)]
Updated Hungarian translation

16 years agoUpdated Serbian translations
Miloš Popović [Wed, 24 Mar 2010 00:45:46 +0000 (01:45 +0100)]
Updated Serbian translations

16 years agoSt: minor gtk-doc fixage (%NULL, %TRUE, %FALSE, not #)
Dan Winship [Tue, 23 Mar 2010 23:56:10 +0000 (19:56 -0400)]
St: minor gtk-doc fixage (%NULL, %TRUE, %FALSE, not #)

16 years ago[runDialog] Don't add duplicates to the history
Adel Gadllah [Tue, 23 Mar 2010 19:22:46 +0000 (20:22 +0100)]
[runDialog] Don't add duplicates to the history

When the user runs the same command as the last one saved there
is no need to save it again, otherwise we the history might end
up having lots of dupes which makes searching for an old command
harder.

https://bugzilla.gnome.org/show_bug.cgi?id=613731

16 years agoBump version to 2.29.1
Owen W. Taylor [Thu, 18 Mar 2010 22:44:32 +0000 (18:44 -0400)]
Bump version to 2.29.1

16 years agoIncrease minimum versions for dependencies
Owen W. Taylor [Tue, 23 Mar 2010 18:07:55 +0000 (14:07 -0400)]
Increase minimum versions for dependencies

Require:
 gobject-introspection >= 0.6.9
 gjs >= 0.6
 mutter >= 2.29.1

16 years agoAdd missing test case to distribution
Owen W. Taylor [Tue, 23 Mar 2010 18:03:16 +0000 (14:03 -0400)]
Add missing test case to distribution

scroll-view-sizing.js wasn't in Makefile.am

16 years agoworkspacesView.js: listen to drag signals on all workspaces
Maxim Ermilov [Mon, 22 Mar 2010 19:52:50 +0000 (22:52 +0300)]
workspacesView.js: listen to drag signals on all workspaces

https://bugzilla.gnome.org/show_bug.cgi?id=610191

16 years ago[workspaces] Don't use a clone for the window drag actor
Owen W. Taylor [Fri, 19 Mar 2010 20:46:08 +0000 (16:46 -0400)]
[workspaces] Don't use a clone for the window drag actor

Using a clone for the drag actor causes the animation into
the final position not to work as expected; instead use
the newly added DND parameters to change the original
drag actors size and opacity. (This reverts the change in
011db9f).

Since we are using the original actor, we have to be careful
not to change it during the drag, so don't actually position
dragged window actors in Workspace.positionWindows().

https://bugzilla.gnome.org/show_bug.cgi?id=613367

16 years ago[DND] Allow setting drag actor max size and opacity
Owen W. Taylor [Mon, 22 Mar 2010 20:29:13 +0000 (16:29 -0400)]
[DND] Allow setting drag actor max size and opacity

Add parameters to DND.makeDraggable:

 dragActorMaxSize: Maximum size for actor drag icon
 dragActorOpacity: Opacity of actor during drag

https://bugzilla.gnome.org/show_bug.cgi?id=613367

16 years ago[DND] Use Params for DND.makeDraggable()
Owen W. Taylor [Mon, 22 Mar 2010 19:25:43 +0000 (15:25 -0400)]
[DND] Use Params for DND.makeDraggable()

Replace boolean 'manualMode' with a params object for
improved readability and future expansion.

https://bugzilla.gnome.org/show_bug.cgi?id=613367

16 years agofix a gtk-doc typo that giscanner was warning about
Dan Winship [Tue, 23 Mar 2010 15:28:25 +0000 (11:28 -0400)]
fix a gtk-doc typo that giscanner was warning about

16 years agoScreencast extention should be ogv
Nuno Araujo [Tue, 23 Mar 2010 12:16:24 +0000 (08:16 -0400)]
Screencast extention should be ogv

http://en.wikipedia.org/wiki/Ogg
"Today video in Ogg is found with the .ogv file extension,
which is formally specified and officially supported."

https://bugzilla.gnome.org/show_bug.cgi?id=611660

16 years agoMake labels on top bar bold
William Jon McCann [Tue, 23 Mar 2010 01:01:04 +0000 (21:01 -0400)]
Make labels on top bar bold

Trying out making the button label text a little meatier.

16 years agoworkspacesView.js: Fix dropping window on +
Maxim Ermilov [Mon, 22 Mar 2010 20:41:26 +0000 (23:41 +0300)]
workspacesView.js: Fix dropping window on +

https://bugzilla.gnome.org/show_bug.cgi?id=610191

16 years agoadd a missing semicolon
Maxim Ermilov [Sun, 21 Mar 2010 02:00:23 +0000 (05:00 +0300)]
add a missing semicolon

https://bugzilla.gnome.org/show_bug.cgi?id=610191

16 years agofix a missed variable rename in 33dca516
Dan Winship [Mon, 22 Mar 2010 16:12:04 +0000 (12:12 -0400)]
fix a missed variable rename in 33dca516

16 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 21 Mar 2010 20:59:50 +0000 (21:59 +0100)]
Updated Slovenian translation

16 years agoUpdated Spanish translation
Jorge González [Sun, 21 Mar 2010 15:49:30 +0000 (16:49 +0100)]
Updated Spanish translation

16 years agoUpdated German translation
Mario Blättermann [Sun, 21 Mar 2010 15:29:07 +0000 (16:29 +0100)]
Updated German translation

16 years agoAdd windowAttentionHandler.js to POTFILES.in
Adel Gadllah [Sat, 20 Mar 2010 22:43:39 +0000 (23:43 +0100)]
Add windowAttentionHandler.js to POTFILES.in

It contains translateable strings.

16 years agoUpdated British English translation
Bruce Cowan [Sat, 20 Mar 2010 22:33:26 +0000 (22:33 +0000)]
Updated British English translation

16 years agoUpdated German translation
Mario Blättermann [Sat, 20 Mar 2010 22:29:30 +0000 (23:29 +0100)]
Updated German translation

16 years agoUpdate Czech translation
Petr Kovar [Sat, 20 Mar 2010 02:14:01 +0000 (03:14 +0100)]
Update Czech translation

16 years agoRemove unused constant
Florian Müllner [Fri, 19 Mar 2010 19:00:12 +0000 (20:00 +0100)]
Remove unused constant

16 years agoRemove user_data arguments for callbacks
Florian Müllner [Fri, 19 Mar 2010 11:13:31 +0000 (12:13 +0100)]
Remove user_data arguments for callbacks

Gjs now removes user_data arguments for callbacks - the existing
code still works because all user_data arguments are unused and
at the end of the argument list, but it's a lot prettier to remove
them.

16 years agoUpdated Polish translation
Piotr Drąg [Fri, 19 Mar 2010 12:08:52 +0000 (13:08 +0100)]
Updated Polish translation

16 years agoAnimate workspace view switches
Florian Müllner [Mon, 15 Feb 2010 13:29:34 +0000 (14:29 +0100)]
Animate workspace view switches

Replace the hard switch between linear and mosaic workspace view
with a an animated transition between the views.

https://bugzilla.gnome.org/show_bug.cgi?id=610191

16 years agoDon't destroy and recreate workspaces on view switches
Florian Müllner [Sun, 14 Feb 2010 23:32:57 +0000 (00:32 +0100)]
Don't destroy and recreate workspaces on view switches

Currently, the workspace objects are destroyed and recreated on
view switches. Instead, keep the objects around and reparent the
workspace actors on view switches.

https://bugzilla.gnome.org/show_bug.cgi?id=610191

16 years ago[Overview] Switch workspace when dragging the desktop
Florian Müllner [Tue, 23 Feb 2010 04:44:09 +0000 (05:44 +0100)]
[Overview] Switch workspace when dragging the desktop

Depending on screen size and pointer position, the scroll bar used
to switch the active workspace in linear view may not be a convenient
target, so allow dragging the desktop as an alternative.

https://bugzilla.gnome.org/show_bug.cgi?id=610892

16 years ago[workspace] Ensure we emit drag-end if we're in a drag during a destroy
Colin Walters [Thu, 18 Mar 2010 20:39:11 +0000 (16:39 -0400)]
[workspace] Ensure we emit drag-end if we're in a drag during a destroy

Showing the window overlay relies on drag-end being emitted, so do so if we're
in a drag.

16 years agosupport arrow-up to recall previous commands
Maxim Ermilov [Wed, 17 Mar 2010 15:22:27 +0000 (18:22 +0300)]
support arrow-up to recall previous commands

runDialog store history in gconf.
https://bugzilla.gnome.org/show_bug.cgi?id=612635

16 years ago[windowManager] Really fix state checking for workspace switcher popup
Colin Walters [Thu, 18 Mar 2010 18:53:58 +0000 (14:53 -0400)]
[windowManager] Really fix state checking for workspace switcher popup

To be correct just always check at time of use whether the overview
is visible, rather than trying to use whether or not it was
constructed earlier.

16 years agoFix workspaceSwitcherPopup
Adel Gadllah [Thu, 18 Mar 2010 18:39:09 +0000 (19:39 +0100)]
Fix workspaceSwitcherPopup

The check in WindowManager._showWorkspaceSwitcher is supposed
to check if the overview is _not_ visible.

Fix that.

16 years agoUpdated Spanish translation
Jorge González [Thu, 18 Mar 2010 18:27:05 +0000 (19:27 +0100)]
Updated Spanish translation

16 years agoUse Meta.Display.lookup_keyboard_action to enable workspace switches
Colin Walters [Wed, 17 Mar 2010 02:08:52 +0000 (22:08 -0400)]
Use Meta.Display.lookup_keyboard_action to enable workspace switches

Also refactor Alt-F2 to use this as well.

https://bugzilla.gnome.org/show_bug.cgi?id=613101

16 years ago[placeDisplay] Add missing return statements
Colin Walters [Thu, 18 Mar 2010 18:04:35 +0000 (14:04 -0400)]
[placeDisplay] Add missing return statements

Otherwise we get a warning.

16 years ago[placeDisplay] Fix dnd regression
Florian Müllner [Tue, 23 Feb 2010 13:25:09 +0000 (14:25 +0100)]
[placeDisplay] Fix dnd regression

DND from the places section broke with 1c4c3afb when St.Label was
replaced with St.Button.
To fix, replace St.Button with St.Clickable and use a fake_release
when starting a drag.

https://bugzilla.gnome.org/show_bug.cgi?id=609218

16 years agoUse one button to toggle between single and grid view
Adel Gadllah [Thu, 18 Mar 2010 14:26:04 +0000 (15:26 +0100)]
Use one button to toggle between single and grid view

Currently we use two buttons to toggle between the different views,
one of them always being redundant.

Fix that by only use one button that changes it's style depending on
the current view.

https://bugzilla.gnome.org/show_bug.cgi?id=610801

16 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 18 Mar 2010 13:06:15 +0000 (14:06 +0100)]
Updated Slovenian translation

16 years agoUpdated Bulgarian translation
Ivaylo Valkov [Thu, 18 Mar 2010 11:09:15 +0000 (13:09 +0200)]
Updated Bulgarian translation

16 years agoDon't use a gradient on the top menu bar
William Jon McCann [Thu, 18 Mar 2010 02:51:49 +0000 (22:51 -0400)]
Don't use a gradient on the top menu bar

Now that we don't use pure black for the overview background
there is less incentive to soften or differentiate the top
bar using a gradient.  Without a gradient it blends better
with screen bezels and reinforces the idea of being negative space.

16 years ago[placeDisplay] Show a message when unmount fails
Florian Müllner [Wed, 10 Mar 2010 14:25:08 +0000 (15:25 +0100)]
[placeDisplay] Show a message when unmount fails

When an unmount operation fails, the only feedback given currently
is an exception on stderr. Use the infoBar to display an error
message and allow the user to retry the operation.

https://bugzilla.gnome.org/show_bug.cgi?id=612200

16 years ago[InfoBar] Allow to optionally change the button label
Florian Müllner [Wed, 10 Mar 2010 14:14:56 +0000 (15:14 +0100)]
[InfoBar] Allow to optionally change the button label

Currently the infoBar's button will always read "Undo" - sometimes
a different label makes more sense, so allow to optionally set the
label to something else.

https://bugzilla.gnome.org/show_bug.cgi?id=612200

16 years agoAdd a --version command line option
Florian Müllner [Wed, 17 Mar 2010 17:02:24 +0000 (18:02 +0100)]
Add a --version command line option

https://bugzilla.gnome.org/show_bug.cgi?id=613164

16 years ago[Overview] Make menu sizes relative to workspace area
Florian Müllner [Wed, 10 Mar 2010 15:54:00 +0000 (16:54 +0100)]
[Overview] Make menu sizes relative to workspace area

Instead of setting a fixed size in the CSS which only works well
with a limited range of screen resolutions, assign a relative
size in the code.

While this takes away some flexibility from theme authors, it is in
line with most elements in the overview (workspaces area, dash).

Also expose the menu panes vertical alignment, so that more-apps aligns
to the workspaces area's top and more-docs to the bottom.

https://bugzilla.gnome.org/show_bug.cgi?id=610872

16 years agoFix JSObject leak in workspace.js
Maxim Ermilov [Wed, 17 Mar 2010 22:23:32 +0000 (01:23 +0300)]
Fix JSObject leak in workspace.js

https://bugzilla.gnome.org/show_bug.cgi?id=612318

16 years ago[windowManager] Allow extensions to more easily override keybindings
William [Tue, 16 Mar 2010 02:06:58 +0000 (22:06 -0400)]
[windowManager] Allow extensions to more easily override keybindings

Add an explicit API for overriding keybindings.

https://bugzilla.gnome.org/show_bug.cgi?id=612651

16 years agounref theme_node in st_widget_dispose
Maxim Ermilov [Wed, 17 Mar 2010 15:40:42 +0000 (18:40 +0300)]
unref theme_node in st_widget_dispose

https://bugzilla.gnome.org/show_bug.cgi?id=612318

16 years agoPrevent from being partly offscreen
Adel Gadllah [Wed, 17 Mar 2010 17:31:03 +0000 (18:31 +0100)]
Prevent from being partly offscreen

Limit the AppSwitcher to the screen size by either downscaling or
scrolling.

We scale the icons down up from 96, 64, 48, 32 to 22 and start scrolling
if we still fail to fit on screen.

The thumbnail box is shifted to either left or right, when failing to
fit we scroll here to.
To prevent from being offscreen at the buttom we adjust the thumbnail
height to fit.

The old positioning logic is replaced with a ShellGenericContainer to
implement a custom allocation system.

https://bugzilla.gnome.org/show_bug.cgi?id=597983

16 years agoSwitch Clutter to 1.2 branch
Owen W. Taylor [Wed, 17 Mar 2010 17:55:38 +0000 (13:55 -0400)]
Switch Clutter to 1.2 branch

Clutter has now been branched in preparation for 1.3 development,
so build the clutter-1.2 branch instead.

16 years agoRemove the "Yessir. The compositor is running" code
Adel Gadllah [Wed, 17 Mar 2010 17:52:20 +0000 (18:52 +0100)]
Remove the "Yessir. The compositor is running" code

Mutter does no longer add this, so there is no reason for us to remove it.

16 years agoFix dropping window on the indicators and at the screen edge for "+"
Maxim Ermilov [Tue, 16 Mar 2010 23:21:24 +0000 (02:21 +0300)]
Fix dropping window on the indicators and at the screen edge for "+"

https://bugzilla.gnome.org/show_bug.cgi?id=607821

16 years ago[Workspace] Disconnect reposition handler when leaving overview
Florian Müllner [Sun, 14 Mar 2010 14:47:42 +0000 (15:47 +0100)]
[Workspace] Disconnect reposition handler when leaving overview

As the repositioning after closing a window preview is delayed, it is
possible that the timeout is triggered while leaving the overview. In
that case the previews move to the new overview position and are changed
abruptly to the original window position when the overview zoom is done.
To prevent this, disconnect the handler when leaving the overview.

16 years agoUpdate more-docs to look more like more-apps
Florian Müllner [Wed, 10 Mar 2010 15:54:58 +0000 (16:54 +0100)]
Update more-docs to look more like more-apps

Disable horizontal scrolling and remove the close button. Update
the CSS to match more-apps.

https://bugzilla.gnome.org/show_bug.cgi?id=612452

16 years agoMove workspace controls into a single object
Florian Müllner [Fri, 12 Feb 2010 20:12:39 +0000 (21:12 +0100)]
Move workspace controls into a single object

Rename WorkspacesViewSwitch to WorkspacesControls and let it manage
all workspace controls. Do not destroy and recreate the controls bar
actor on each view change, but add it to the overview once and let it
update itself.

https://bugzilla.gnome.org/show_bug.cgi?id=610189

16 years agoadd ability move window in SingleView
Maxim Ermilov [Tue, 16 Mar 2010 15:51:24 +0000 (18:51 +0300)]
add ability move window in SingleView

https://bugzilla.gnome.org/show_bug.cgi?id=607821

16 years agoShrink windows to small previews when dragging
Colin Walters [Tue, 9 Mar 2010 22:31:06 +0000 (17:31 -0500)]
Shrink windows to small previews when dragging

Hide the original actor during a grab, and create a new
clone.  This is easier than trying to ensure we maintain
the state of the original window clone.

https://bugzilla.gnome.org/show_bug.cgi?id=607821

16 years agoEnsure our drag actor is positioned over the cursor
Colin Walters [Wed, 10 Mar 2010 00:15:43 +0000 (19:15 -0500)]
Ensure our drag actor is positioned over the cursor

Previously we were looking at the source size, which is
not necessarily the same as the drag actor size.

https://bugzilla.gnome.org/show_bug.cgi?id=607821

16 years ago[panel.js] Remove duplicated 'let'
Colin Walters [Tue, 16 Mar 2010 14:51:05 +0000 (10:51 -0400)]
[panel.js] Remove duplicated 'let'

Original fix from Maxim Ermilov <zaspire@rambler.ru>

16 years agoAdd missing semicolons noted by jslint
Dan Winship [Mon, 15 Mar 2010 13:50:05 +0000 (09:50 -0400)]
Add missing semicolons noted by jslint

Taken from a patch by Lex Hider on the mailing list

16 years agoUpdated Spanish translation
Jorge González [Sun, 14 Mar 2010 22:13:29 +0000 (23:13 +0100)]
Updated Spanish translation

16 years agoUse CSS for spacing
Adel Gadllah [Sun, 14 Mar 2010 10:09:30 +0000 (11:09 +0100)]
Use CSS for spacing

Use CSS instead of St.Bin actors for spacing.

https://bugzilla.gnome.org/show_bug.cgi?id=612852

16 years ago[StTextureCache] Use size in all cases for cache keys
Colin Walters [Sat, 13 Mar 2010 18:04:36 +0000 (13:04 -0500)]
[StTextureCache] Use size in all cases for cache keys

Otherwise we're going to be returning the wrong sized image to callers,
and Clutter.Texture will scale it, which will look awful.

16 years ago[ShellApp] When fading, don't read alpha channel if none available
Colin Walters [Sat, 13 Mar 2010 17:56:15 +0000 (12:56 -0500)]
[ShellApp] When fading, don't read alpha channel if none available

16 years agoFix app icon fading
Colin Walters [Fri, 12 Mar 2010 20:57:01 +0000 (15:57 -0500)]
Fix app icon fading

The way we were loading data into a CoglTexture, then pulling it out
and manipulating it on the CPU, then loading it back into a texture
was a bit lame.

Clean things up a bit here by loading directly into the CPU, doing
the fading, then creating a texture.

Also cache the faded data in StTextureCache.

https://bugzilla.gnome.org/show_bug.cgi?id=612759

16 years agosrc/Makefile.am: fix .gir dependencies
Dan Winship [Fri, 12 Mar 2010 19:04:38 +0000 (14:04 -0500)]
src/Makefile.am: fix .gir dependencies

We don't need to rebuild Big-1.0.gir and St-1.0.gir when
libgnome-shell changes.

https://bugzilla.gnome.org/show_bug.cgi?id=612734

16 years agoError out at startup if the GConf schemas are missing
Dan Winship [Tue, 2 Mar 2010 18:51:00 +0000 (13:51 -0500)]
Error out at startup if the GConf schemas are missing

If we don't do this, then boolean/int/list keys will seem to sort of
work (but defaulting to false/0/[] instead of the correct schema
defaults), but string keys will return null, which will usually cause
exceptions or crashes.

https://bugzilla.gnome.org/show_bug.cgi?id=611214

16 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 12 Mar 2010 12:27:59 +0000 (13:27 +0100)]
Updated Slovenian translation

16 years agofix workspace controls for RTL locales
Abderrahim Kitouni [Thu, 11 Feb 2010 19:06:12 +0000 (20:06 +0100)]
fix workspace controls for RTL locales

https://bugzilla.gnome.org/show_bug.cgi?id=584662

16 years agofix minimize animation for RTL locales
Abderrahim Kitouni [Wed, 10 Feb 2010 22:26:24 +0000 (23:26 +0100)]
fix minimize animation for RTL locales

https://bugzilla.gnome.org/show_bug.cgi?id=584662

16 years ago[StTextureCache] Fix an accidentally swapped ref/unref
Florian Müllner [Thu, 11 Mar 2010 20:40:42 +0000 (21:40 +0100)]
[StTextureCache] Fix an accidentally swapped ref/unref

16 years ago[Overview] Update look and feel of the search field
Florian Müllner [Sat, 27 Feb 2010 14:49:39 +0000 (15:49 +0100)]
[Overview] Update look and feel of the search field

Port the search entry to CSS and update look and feel according to
the latest design.

https://bugzilla.gnome.org/show_bug.cgi?id=611095

16 years agoSimplify handling of adjustments
Owen W. Taylor [Wed, 10 Mar 2010 23:32:10 +0000 (18:32 -0500)]
Simplify handling of adjustments

The relationship between adjustments and scrollbars and
scrollable widgets was much more complex than it needed to be.

StScrollView: Have the scroll view own a pair of adjustments,
  set them on the child on add(), remove unnecessary
  change notification signal connections.
StBoxLayout: Remove auto-create of adjustments, just take the
  adjustments from the scrollbars and set them on the scrollable
  child. Notify for hadjustment/vadjustment properties.
StScrollBar: Notify adjustment property.
StScrollable: Document how adjustment setting works.

https://bugzilla.gnome.org/show_bug.cgi?id=611740

16 years agoFixes for dispose and finalize
Owen W. Taylor [Wed, 10 Mar 2010 23:22:06 +0000 (18:22 -0500)]
Fixes for dispose and finalize

* Add missing chain-up for dispose and finalize methods
* ShellGenericContainer needs to destroy its children in dispose()
* Fix variable naming and excess casts in st_label_dispose()

https://bugzilla.gnome.org/show_bug.cgi?id=612511

16 years agoFixes for setting up scrolling adjustments
Owen W. Taylor [Wed, 10 Mar 2010 18:57:05 +0000 (13:57 -0500)]
Fixes for setting up scrolling adjustments

StScrollable: Document how to set adjustments
StBoxLayout: Make sure that we always have upper >= lower + page_size,
  so that clamping works properly. Set the page_increment to be slightly
  less than the page_size so there is some overlap, as is customary.
StScrollView: Remove unnecessary fabs() calls, rewrite expressions
  for additional clarity.

https://bugzilla.gnome.org/show_bug.cgi?id=611740

16 years agoIncremental fixes for scrollview work
Owen W. Taylor [Wed, 10 Mar 2010 16:56:04 +0000 (11:56 -0500)]
Incremental fixes for scrollview work

- Fix existing typos and spacing problems
- Get preferred height, not current height, of shadows
- Let shadows overflow don't clamp them when we have too little space
- Remove a now-unecessary stray MAX()
- Fix up scrollview visibility for the pathological case of no child
- Disconnect from adjustments on remove()
- Don't unset the adjustments on the child on remove(), since they
  already existed or were autocreated on add()

  (We should what we are doing and set the adjustments of the
  scrollbars on the child rather than setting the adjustments of
  the child, so we match GTK+'s scrolllable interface, but this
  at least makes it consistent instead of a weird mix.)

https://bugzilla.gnome.org/show_bug.cgi?id=611740

16 years agoFix size negotiation for StScrollView
Owen W. Taylor [Fri, 5 Mar 2010 22:20:56 +0000 (17:20 -0500)]
Fix size negotiation for StScrollView

StScrollable: Document how size negotation now works between the
  parent and scrollable child.

StBoxLayout: Adapt to the new contract for how size negotiation
  works; in particular, handle being allocated less than the
  minimum size when scrolled and treat the minimum size as the
  size of the scrolled area in instead of the natural size.

StScrollView: Substantially rewrite with fixes including:
 - Implement new size negotation contract; this allows us
   to determine scrollbar visibility without having to
   connect to the adjustment.
 - Implement all ALWAYS along with the existing NEVER/AUTO
 - When hiding and showing scrollbars and shadows, don't
   hide and show widgets, just turn on and off including them
   in pick and paint. This avoids queueing relayouts.
 - Cleanups for the code for connecting to adjustments,
   for changing policy, and for turning on and off shadows.

scroll-view-sizing.js: New test case for StScrollView, allowing
  resizing the scroll view interactively, changing the scrollbar
  policies and turning shadows on and off.

https://bugzilla.gnome.org/show_bug.cgi?id=611740

16 years ago[StScrollBar] avoid queueing a relayout during allocation
Owen W. Taylor [Fri, 5 Mar 2010 21:17:07 +0000 (16:17 -0500)]
[StScrollBar] avoid queueing a relayout during allocation

When an StScrollView is allocated, allocating the child would
cause the adjustment values to change, which would result in
the scrollbars queueing a relayout, which isn't allowed during
allocation.

To avoid this, instead of queueing a relayout when the adjustment
changes:

 - When we have a valid allocation already, just go ahead
   and reallocate the children.
 - Otherwise do nothing immediately and wait until we get allocated

Because the 'needs_allocation' flag in ClutterActor isn't exposed,
this requires some slightly ugly code to shadow that state locally.

https://bugzilla.gnome.org/show_bug.cgi?id=611944

16 years agoRework StDrawingArea not to use ClutterCairoTexture
Owen W. Taylor [Wed, 3 Mar 2010 23:00:05 +0000 (18:00 -0500)]
Rework StDrawingArea not to use ClutterCairoTexture

Having StDrawingArea use ClutterCairoTexture causes circularity
problems with sizing - StDrawingArea wants to use its allocation for
the size of the texture, but ClutterTexture wants to use the size of
the texture to determine the requited size.

Avoid this by making StDrawingArea directly use Cairo and CoglTexture;
while doing this, the API is changed a bit for simplicity and to
match our use case:

 - Instead of clutter_cairo_texture_create(), we have
   st_drawing_area_get_context() to retrieve an already created
   context. This can only be called in the ::repaint signal.

 - The ::redraw signal is changed to ::repaint so we can have
   st_drawing_area_queue_repaint() that doesn't collide with
   clutter_actor_queue_redraw()

 - ::repaint is now emitted lazily when painting the actor rather
   than synchronously at various different points.

https://bugzilla.gnome.org/show_bug.cgi?id=611750

16 years agoSupport and require Clutter 1.2
Owen W. Taylor [Thu, 11 Feb 2010 20:24:13 +0000 (15:24 -0500)]
Support and require Clutter 1.2

- Specify a minimum version of clutter-1.2.0
 - Switch clutter branch in the moduleset to master
 - Replace deprecated cogl_texture/material_unref() with
   cogl_handle_unref()
 - Use cogl_clip_push_rectangle() rather than cogl_clip_push()
 - Replace cogl_check_extension() with strstr - should be
   accurate enough.

https://bugzilla.gnome.org/show_bug.cgi?id=610679

16 years agoAdjust more-apps menu to better match the overall theme
Florian Müllner [Wed, 3 Mar 2010 00:07:18 +0000 (01:07 +0100)]
Adjust more-apps menu to better match the overall theme

https://bugzilla.gnome.org/show_bug.cgi?id=612452

16 years agoAdd get_horizontal/vertical_padding() methods
Adel Gadllah [Thu, 11 Mar 2010 17:04:08 +0000 (18:04 +0100)]
Add get_horizontal/vertical_padding() methods

Add get_horizontal_padding() and get_vertical_padding() methods,
that return the total padding (LEFT+RIGHT or TOP+BOTTOM).

https://bugzilla.gnome.org/show_bug.cgi?id=597983

16 years agost_widget_get_theme_node: g_error if called on an unparented widget
Dan Winship [Wed, 17 Feb 2010 20:21:51 +0000 (15:21 -0500)]
st_widget_get_theme_node: g_error if called on an unparented widget

It's wrong to do anything that requires looking up a widget's style
before you add the widget to the stage, since its final style may
depend on properties inherited from its parents.
st_widget_get_theme_node() used to emit a warning in this case, but
many would-be contributors apparently didn't notice. Help them out.

https://bugzilla.gnome.org/show_bug.cgi?id=610279

16 years agoUpdated French translation
Claude Paroz [Tue, 9 Mar 2010 21:55:53 +0000 (22:55 +0100)]
Updated French translation

Contributed by Pablo Martin-Gomez and Claude Paroz

16 years agoDon't activate workspace when more than one window is open
Adel Gadllah [Sun, 7 Mar 2010 18:33:58 +0000 (19:33 +0100)]
Don't activate workspace when more than one window is open

Currently clicking on an empty spot on the workspace actors switches to the workspace, this has a side effect that when for some reason (like using a touchpad),
the user misses the window he intends to open he will end up with the currently focused window instead.

Disable this behaviour if more than one window is open (in that case the user has to explicitly target a specific window).

https://bugzilla.gnome.org/show_bug.cgi?id=610868

16 years ago[StTextureCache] The requested size needs to be part of the cache key
Colin Walters [Tue, 9 Mar 2010 19:08:22 +0000 (14:08 -0500)]
[StTextureCache] The requested size needs to be part of the cache key

Otherwise we'll only render it once, which is clearly wrong.

16 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 9 Mar 2010 16:47:30 +0000 (17:47 +0100)]
Updated Norwegian bokmål translation

16 years ago[runDialog] Support opening files and folders
Florian Müllner [Fri, 26 Feb 2010 19:07:44 +0000 (20:07 +0100)]
[runDialog] Support opening files and folders

Support completion on files and folders in the run dialog and launch
the default application when activated. Assume a path relative to the
home directory if execution as command fails and the input doesn't start
with a slash.
Removed workaround for relayout of error messages.

https://bugzilla.gnome.org/show_bug.cgi?id=611209

16 years agoLook at current mouse position for dropping
Maxim Ermilov [Mon, 8 Mar 2010 22:50:49 +0000 (01:50 +0300)]
Look at current mouse position for dropping

Previously we used the top-left corner which was not intuitive,
particularly when dragging partially opaque actors.
https://bugzilla.gnome.org/show_bug.cgi?id=607821

16 years agoConvert border_width, border_radius to integers
Colin Walters [Thu, 11 Feb 2010 02:10:49 +0000 (21:10 -0500)]
Convert border_width, border_radius to integers

This saves the consumers from having to deal with rounding.

https://bugzilla.gnome.org/show_bug.cgi?id=607500